<?php

namespace App\Http\Controllers\Api;

use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use App\Models\User;

class IndexController extends Controller
{

    public function getdata()
    {
        return response()->json(['msg'=>'index msg data']);
    }
    public function getuser(Request $request)
    {
    	return $request->user()->toJson();
    }
    public function getinfo()
    {
    	return response()->json(['msg'=>'index msg getinfo']);
    }
}
